import request from "@/utils/request";


export function getStockFormList(data) {
    return request({
        url: '/app/stockForm/list',
        method: 'post',
        data: data
    })
}

export function getBatchList(data) {
    return request({
        url: '/app/stockForm/getBatchList',
        method: 'post',
        data: data
    })
}

export function batchIssueList(data) {
    return request({
        url: '/app/stockForm/batchIssueList',
        method: 'post',
        data: data
    })
}

export function formConfirm(data) {
    return request({
        url: '/app/stockForm/confirm',
        method: 'post',
        data: data
    })
}

export function formRefuse(data) {
    return request({
        url: '/app/stockForm/refuse',
        method: 'post',
        data: data
    })
}

export function getOrders() {
    return request({
        url: '/app/stockForm/getOrders',
        method: 'get',
    })
}

export function addBatchForm(data) {
    return request({
        url: '/app/stockForm/addBatchForm',
        method: 'post',
        data: data
    })
}

export function batchConfirm(data) {
    return request({
        url: '/app/stockForm/batchConfirm',
        method: 'post',
        data: data
    })
}
export function batchDel(data) {
    return request({
        url: '/app/stockForm/batchDel',
        method: 'post',
        data: data
    })
}

export function batchRefuse(data) {
    return request({
        url: '/app/stockForm/batchRefuse',
        method: 'post',
        data: data
    })
}

export function upBatchForm(data) {
    return request({
        url: '/app/stockForm/updateBatchForm',
        method: 'post',
        data: data
    })
}
